<!DOCTYPE html>
<html lang="en"
<if condition="$is_mobile and APP_DEBUG eq false">manifest="<php>echo HomeUrl</php>/appcache/edu.appcache"</if>>
<head>
    <script>
        var webName = "BoxEdu";
        var base_url = "<php>echo HomeUrl</php>";
        var view_type = "<{$is_mobile?'Wap':'Web'}>";
    </script>
    <include file="$public_header"/>

</head>
<body class="text <{$is_mobile?'Wap':'Web'}>">

<if condition="$header_nav eq 'Public:header_lesson'">
<include file="Public:header_lesson"/>
<elseif condition="$header_nav eq 'Public:header'"/>
<include file="Public:header"/>
</if>

<!--[if lte IE 8]>
<div class="compatible-contianer" id="js-compatible">
    <P class=cpt-ct><I></I>您的浏览器版本过低。为保证最佳学习体验，<A href="http://chrome.360.cn/" target="_blank">请点此下载高版本浏览器</A></P>
</div>
<![endif]-->


<div class="views">
    <!-- Your main view, should have "view-main" class-->
    <div class="view view-main">
        <!-- Top Navbar-->

        <!-- Pages, because we need fixed-through navbar and toolbar, it has additional appropriate classes-->
        <div class="pages">
            <!-- Index Page-->

            <{$page_content}>

        </div>

        <!-- Bottom Toolbar-->

    </div>

</div>
<div class="toolbar tabbar  hidden-lg"></div>
<!--常用模板-->
<script>  TPL.load("__PUBLIC__/BoxEdu/Js/tpl.html", app_params.BoxVersion);</script>


<script>
    console.log(app_params);
    hiApp = new m(app_params);
    hiApp.init();
    hiApp.run();

</script>
<include file="Public:foot"/>

</body>

</html>
